<%@ page language="java" pageEncoding="utf-8"%>
<%@page import="java.util.List"%>

<%
	String resources = (String) request.getAttribute("_userResources");
	if (resources == null || resources.isEmpty()
			|| "[]".equals(resources)) {
		out.println("无权访问");
		//return;
	}
%>

<%
	// test
	//InitDictionary.loadCache();
%>
<html>
<head>
<jsp:include page="/WEB-INF/jsp/header.jsp">
	<jsp:param name="$title" value="综合信息办公OA系统" />
</jsp:include>
<%@ include file="/WEB-INF/jsp/inc/common.jsp"%>
<%@ include file="/WEB-INF/jsp/resources.jsp"%>
<script type="text/javascript" src="${$res_path_resources}/extjs3.4/ux/TabCloseMenu.js"></script>
<script type="text/javascript" src="${$res_path_resources}/extjs3.4/ux/TabScrollerMenu.js"></script>
<script type="text/javascript" src="${$res_path_resources}/theme/default/js/app3.4.js"></script>

<link rel="stylesheet" type="text/css" href="${$res_path_resources}/css/taskmsg.css" />
<link rel='stylesheet' href="${$res_path_resources}/js/humane/themes/bigbox.css" />

<script type="text/javascript" src="${$res_path_resources}/js/humane/humane.js"></script>
<script type="text/javascript" src="${$res_path_resources}/js/keeperScript.js"></script>

<style type="text/css">
.x-tab-strip span.x-tab-strip-text {
	font-size: 12px;
}
</style>

<script type="text/javascript">
	var _resourceData = eval('${_userResources}');
</script>

</head>
<body>
	<div id="loading-mask"></div>
	<div id="loading" style="border: #ccc solid 1px;">
		<div class="loading-indicator">系统载入中，请稍候...</div>
	</div>
	<!-- height:100%由VIEWPORT指定-->
	<div id="top_panel" style="height: 100%;">
		<jsp:include page="${ignore}/topPanel.do"></jsp:include>
	</div>
</body>
</html>

<script type="text/javascript">
	humane.timeout = 5000;
	//监听taskmsgevent事件
	//Keeper.addListener('taskmsgevent', showTaskMsg);

	//事件taskmsgevent回调
	function showTaskMsg(obj) {
		humane.log(obj.responseText);
	}
</script>
